char_dx = [chr(i) for i in range(ord('A') - 1, ord('Z') + 1)]
size = 26
for i in range(size):
    for j in range(size - i - 1):
        print(" ", end="")
    while True:
        print(''.join(char_dx[1:i + 2]), end="")
        break
    while True:
        print(''.join(char_dx[i:0:-1]))
        break
